package org.eiahe.hr.attendance.domain;

import java.util.Date;

/**
 * @author :zhangnn
 * @className :DingTalkLeaveRecord
 * @description: TODO
 * @date 2025-11-14 09:52:00
 */
public class DingTalkLeaveRecord {
    /** 用户ID */
    private String userId;
    /** 请假类型编码 */
    private String leaveCode;
    /** 开始时间 */
    private Date startTime;
    /** 结束时间 */
    private Date endTime;
    /** 时长单位: percent_day按天 percent_hour按小时 */
    private String durationUnit;
    /** 请假时长(百分比) */
    private String durationPercent;
    /** 审批状态: NEW新建 RUNNING审批中 TERMINATED已终止 COMPLETED完成审批 */
    private String approveState;
    /** 请假类型名称 */
    private String tagNames;
    /** 审批单ID */
    private String bizId;

    // Getter and Setter methods
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLeaveCode() {
        return leaveCode;
    }

    public void setLeaveCode(String leaveCode) {
        this.leaveCode = leaveCode;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDurationUnit() {
        return durationUnit;
    }

    public void setDurationUnit(String durationUnit) {
        this.durationUnit = durationUnit;
    }

    public String getDurationPercent() {
        return durationPercent;
    }

    public void setDurationPercent(String durationPercent) {
        this.durationPercent = durationPercent;
    }

    public String getApproveState() {
        return approveState;
    }

    public void setApproveState(String approveState) {
        this.approveState = approveState;
    }

    public String getTagNames() {
        return tagNames;
    }

    public void setTagNames(String tagNames) {
        this.tagNames = tagNames;
    }

    public String getBizId() {
        return bizId;
    }

    public void setBizId(String bizId) {
        this.bizId = bizId;
    }
}
